<!DOCTYPE html>
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <!-- Tell the browser to be responsive to screen width -->
    <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
    <!-- 上述3个meta标签*必须*放在最前面，任何其他内容都*必须*跟随其后！ -->
    <title>批量改价</title>
    <!-- Bootstrap 3.3.5 -->
    <link href="http://cdn.52shangou.com/bootstrap/1.0.2/build/3.3.5/bootstrap.min.css" rel="stylesheet">
    <!-- Font Awesome -->
    <link rel="stylesheet" href="../../src/c/font-awesome-4.4.0/css/font-awesome.min.css">
    <!-- Ionicons -->
    <link rel="stylesheet" href="../../src/c/ionicons-2.0.1/css/ionicons.min.css">
    <!-- Theme style -->
    <link rel="stylesheet" href="../../src/c/dist/css/AdminLTE.min.css">
    <!-- AdminLTE Skins. Choose a skin from the css/skins
         folder instead of downloading all of them to reduce the load. -->
    <link rel="stylesheet" href="../../src/c/dist/css/skins/_all-skins.min.css">
    <!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
    <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
    <!--[if lt IE 9]>
    <script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
    <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
    <![endif]-->
    <link href="http://cdn.52shangou.com/dataTables/1.0.0/build/dataTables.bootstrap.min.css" rel="stylesheet">
    <link href="http://cdn.52shangou.com/bootstrapvalidator/1.0.0/build/css/bootstrapValidator.min.css" rel="stylesheet">
    <link href="http://cdn.52shangou.com/bootstrap-datetimepicker/1.0.0/build/css/bootstrap-datetimepicker.min.css" rel="stylesheet">
    <link rel="stylesheet" type="text/css" href="../../build/c/base/index.css">
    <style>
        #func-area{
            text-align: left;
        }
        #func-area .form-group,
        #func-area .form-control{
            height: 34px;
            margin: 0 12px 0 0;
        }
        #func-area .form-group label{
            margin: 0 12px 0 0;
            font-size: 18px;
            display: inline-block;
            height: 34px;
            line-height: 34px;
        }
        #func-area .form-group input{
            vertical-align: top;
        }
    </style>
</head>
<body class="skin-blue sidebar-mini hold-transition" >
<div class="wrapper" style="overflow-x: scroll">
    <header class="main-header">
        <!-- Logo -->
        <a href="../home/index.html" class="logo">
            <!-- mini logo for sidebar mini 50x50 pixels -->
            <span class="logo-mini"><b>C</b>RM</span>
            <!-- logo for regular state and mobile devices -->
            <span class="logo-lg"><b>闪电购</b>CRM</span>
        </a>

        <!-- Header Navbar: style can be found in header.less -->
        <nav class="navbar navbar-static-top" role="navigation">
            <!-- Sidebar toggle button-->
            <a href="#" class="sidebar-toggle" data-toggle="offcanvas" role="button">
                <span class="sr-only">导航</span>
            </a>
            <!-- Navbar Right Menu -->
            <div class="navbar-custom-menu">
                <ul class="nav navbar-nav">


                </ul>
            </div>
        </nav>
    </header>
    <!-- Left side column. contains the logo and sidebar -->
    <aside class="main-sidebar" id="main-sidebar">
    </aside>
    <!-- Content Wrapper. Contains page content -->
    <div class="content-wrapper">
        <!-- Content Header (Page header) -->
        <section class="content-header">
            <h3 style="margin: 0;padding-right: 60px">批量改价</h3>
        </section>
        <!-- Main content -->
        <section class="content">
            <div class="panel panel-default">
                <div class="panel-body">
                    <form class="form-inline" id="func-area" role="form">
                        <select class="form-control" id="platform">
                        </select>
                        <div class="form-group">
                            <label for="barcode">输入spu的条码</label>
                            <input type="text" class="form-control" id="barcode" name="barcode" placeholder="">
                        </div>
                        <div class="form-group">
                            <label for="price">价格</label>
                            <input type="text" class="form-control" id="price" name="price" placeholder="">
                        </div>
                        <button class="btn btn-default form-group" id="modifyPriceBtn">批量改价</button>
                    </form>
                    <hr>
                    <table class="table" id="goods_table" style="min-height: 200px;">
                        <tbody>
                        </tbody>
                    </table>
                </div>
            </div>
        </section>
    </div>
    <!-- /.content-wrapper -->

    <footer class="main-footer">

    </footer>

    <!-- Control Sidebar -->


    <!-- /.control-sidebar -->
    <!-- Add the sidebar's background. This div must be placed
         immediately after the control sidebar -->
    <div class="control-sidebar-bg"></div>
</div>
<!--修改模态框 -->
<div class="modal fade bs-example-modal-lg" tabindex="-1" id="modifyPrice_dialog" aria-labelledby="modifyPrice_dialog_title"
     role="dialog" aria-hidden="true">
    <div class="modal-dialog modal-lg">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
                <h4 class="modal-title" id="typePut_dialog_title">
                    批量改价
                </h4>
            </div>
            <div class="modal-body" id="modifyPrice_dialog_content">
                <form class="form" id="dialog_form">
                    <div class="form-group">
                        <label for="barcode">条码</label>
                        <input type="text" class="form-control" id="dialog_barcode" name="dialog_barcode" placeholder="" disabled="disabled">
                    </div>
                    <div class="form-group">
                        <label for="barcode">输入价格</label>
                        <input type="text" class="form-control" id="dialog_price" name="dialog_price" placeholder="">
                    </div>
                    <div class="form-group">
                        <btn class="btn btn-primary" onclick="dialog_modifyPrice()">改价</btn>
                    </div>
                </form>
            </div>
        </div>
    </div>
</div>
<!--确认框 -->
<div class="modal fade bs-example-modal-sm" tabindex="-1" id="confirm_dialog" aria-labelledby="confirm_dialog_title"
     role="dialog" aria-hidden="true">
    <div class="modal-dialog modal-sm">
        <div class="modal-content">
            <div class="modal-header">
                <h4 class="modal-title" id="confirm_dialog_title">
                    操作确认
                </h4>
            </div>
            <div class="modal-body" id="confirm_dialog_content"></div>
            <div class="modal-footer">
                <button type="button" class="btn btn-primary" id="confirm" data-putType="">确 定</button>
                <button type="button" class="btn btn-default" data-dismiss="modal">关 闭</button>
                <input type="hidden" id="targetCatID">
                <input type="hidden" id="targetItemIDs">
            </div>
        </div>
    </div>
</div>



<!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
<script src="http://cdn.52shangou.com/jquery/1.0.0/build/jquery-1.11.3.min.js"></script>
<!-- Include all compiled plugins (below), or include individual files as needed -->
<script src="http://cdn.52shangou.com/dataTables/1.0.0/build/jquery.dataTables.min.js"></script>
<script src="http://cdn.52shangou.com/bootstrap/1.0.2/build/3.3.5/bootstrap.min.js"></script>
<script src="http://cdn.52shangou.com/dataTables/1.0.0/build/dataTables.bootstrap.min.js"></script>
<script src="http://cdn.52shangou.com/jquery.cookie/1.0.0/build/jquery.cookie.min.js"></script>
<script src="http://cdn.52shangou.com/bootstrapvalidator/1.0.0/build/js/bootstrapValidator.min.js"></script>
<script src="http://cdn.52shangou.com/bootstrap-datetimepicker/1.0.0/build/js/bootstrap-datetimepicker.min.js"></script>
<script src="http://cdn.52shangou.com/bootstrap-datetimepicker/1.0.0/build/js/locales/bootstrap-datetimepicker.zh-CN.js"></script>
<script src="http://cdn.52shangou.com/bootstrap-typeahead/1.0.2/build/bootstrap-typeahead.min.js"></script>

<!-- AdminLTE App -->
<script src="../../src/c/dist/js/app.min.js"></script>

<!-- main -->
<script type="text/javascript" src="http://cdn.52shangou.com/lib/1.0.1/build/lib/require.js?t=1440237721"></script>
<script type="text/javascript">
    require.config({
        urlArgs: 't=' + (new Date()).getTime(),
        baseUrl: '../../build',
        paths: {
            'juicer': 'http://cdn.52shangou.com/lib/1.0.4/build/lib/juicer-amd'
        }
    });
    require(['p/outflat/modifyPrice/index']);
</script>
</body>
</html>